<?php
	# this is the only place where anything specifying database fields--and how they are displayed--is referenced in the website.

	
	class field
	{
		public $name;
		public $alias;
		
		function __construct ($thename, $thealias)
		{
			$this->name = $thename;
			$this->alias = $thealias;
		}
	};
	
	$fields = array(new field ("pdbcode", "PDB Code"), 
				new field("ddgavg_helix", "Helix delta-delta-G average"), 
				#new field("secstruct", "Secondary Structure"),
				new field("ddgsum_helix", "Helix delta-delta-G sum"),
				new field("ddgsum_all", "All-hotspot delta-delta-G sum"),
				new field("percent_ddg_helix", "% helix contribution by ddG"),
				new field("dsasaavg_helix", "Helix dSASA average"),
				new field("dsasasum_helix", "Helix dSASA sum"),
				new field("dsasasum_all", "All-hotspot dSASA sum"),
				new field("percent_dsasa_helix", "% helix contribution by dSASA"),
				new field("num_hs", "Number of hotspots"),
				new field("hs_ids", "List of hotspot residues"),
				new field("hs_relpos", "Relative hotspot positions"),
				new field("hs_len", "End-to-end hotspot distance"),
				new field("maxlength_helix", "End-to-end length of longest helix in residues"),
				new field("helix_start", "Starting helix position"),
				new field("helix_end", "Ending helix position"),
				new field("helix_sequence", "Helix sequence"),
				new field("resolution", "Resolution"));
>

pdbcode, interfacechains, chain, ddgavg_helix, ddgsum_helix, ddgsum_all, percent_ddg_helix, dsasaavg_helix, dsasasum_helix, dsasasum_all, percent_dsasa_helix, num_hs, hs_ids, hs_relpos, hs_len, maxlength_helix, helix_start, helix_end, helix_sequence, resolution